var:=
CFLAG:=-g

#ifeq ($(CFLAG), -g)
#var:=baichen
#else
#var:=baichenchen
#endif


ifneq ($(CFLAG), -g)
var:=baichen
else
var:=baichenchen
endif

ifdef var 
var := nihao
endif

bar =
foo = $(bar)
ifdef foo
frobozz = yes
else
frobozz = no
endif

foo =
ifndef foo
frobozz = yes
else
frobozz = no
endif



if: PRI=kernel
if:
	echo $(var) $(PRI) $(frobozz)
